package com.itheima.edu.info.test;

import sun.reflect.generics.tree.VoidDescriptor;

public class test051 {
    public static void main(String[] args) {
        B((int age)->{
            System.out.println("lambda表达式"+age);
        });
    }

    public static void B(A M) {
        M.show(20);
    }
}


interface A {
    void show(int age);
}